<B:UIQIFWB08 x:Class="WPFExcelReport.TFWB08"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:B="clr-namespace:WPFExcelReport;assembly=TWBBST" 
                    xmlns:HR="clr-namespace:WPFExcelReport;assembly=THRSTAMM" 
                    xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT" 
                    xmlns:WS="clr-namespace:WPFExcelReport;assembly=TWASTAMM" 
                    xmlns:BW="clr-namespace:WPFExcelReport;assembly=TWBBEW" 
                    xmlns:WB="clr-namespace:WPFExcelReport;assembly=TWBDAT" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"  
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    xmlns:DR="clr-namespace:WPFExcelReport;assembly=TDRAUFTR" 
                   x:Name="TV" 
                   FontSize="14"

            Loaded="Window_Loaded"
     >
    <B:UIQIFWB08.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/> 
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
        <ucd:SubStrConverter x:Key="substr"/>
        <ucd:NOTConverter x:Key="not"/>
    </B:UIQIFWB08.Resources>
    <StackPanel>
        <StackPanel>
            <WrapPanel  >
                <me:UIFWB08SYH
                    QTY="{Binding QTY,ElementName=TV}"
                    IsDBChg="{Binding IsDBChg,ElementName=TV}"
                    QUALITY="{Binding QUALITY,ElementName=TV}"
                    />
                <me:UIFWB08SJH
                    QTY="{Binding QTY,ElementName=TV}"
                    IsDBChg="{Binding IsDBChg,ElementName=TV}"
                    QUALITY="{Binding QUALITY,ElementName=TV}"
                    />
                <Button  Margin="5,0,0,0" Height="40" Width="60"  FontSize="18" 
                         Visibility="{Binding IsDBChg,ElementName=TV,Converter={StaticResource bv}}" Content="保存" Click="ChgQtyCommand"/>

                <DR:TDRAUFTR  Grid.Column="0" Name="cDR" DocType="{Binding PRTYPE,ElementName=TV}"
                              Visibility="Collapsed"
                               PrintType="DirectPrint" />
                <Button  Grid.Column="1"   Click="PrintLBCommand"  Margin="5,0,0,0" Width="80" Height="40"  FontSize="18" 
                         Content="{Binding Source={Localization:Translate Word=标签}}" />

            </WrapPanel>
        </StackPanel>
        
           
    </StackPanel>
</B:UIQIFWB08>
